package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.TrainPlanZcdetail;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.TrainPlanDetailVo;
import com.hzhc.vo.TrainPlanZcdetailVo;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 装车计划预导入集装箱 服务类
 * </p>
 *
 * @author 功不唐捐
 * @since 2025-03-21
 */
public interface TrainPlanZcdetailService extends IService<TrainPlanZcdetail> {

    List<TrainPlanZcdetailVo> getDetailList(Page<TrainPlanZcdetailVo> page, TrainPlanZcdetailVo vo);

    ResultUtil<List<TrainPlanZcdetailVo>> cntrUploadCheck(MultipartFile file);

    ResultUtil<T> importZcTrainPlanCntr(HttpServletRequest request, List<TrainPlanZcdetail> list);

    ResultUtil<T> updatePoolCntr(TrainPlanZcdetail detail);

    ResultUtil<T> deleteZcCntr(Long id);
}
